﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.Composition;

namespace Mef4Wcf
{
    [Export(typeof(ILogService))]
    public class LogService: ILogService
    {
        public void Log(string message)
        {
            //log to database, file, queue ...
        }
    }


    public interface ILogService
    {
        void Log(string message);
    }
}